module.exports = {
    chainWebpack: config => {
        // 修复HMR
        config.resolve.symlinks(true);

    },
    devServer: {
        port: 8080,
        hot: true,
        open: true,
        compress: true,
        disableHostCheck: true,
    },
    css: {
        // 是否使用css分离插件 ExtractTextPlugin
        extract: false,
        // 开启 CSS source maps?
        sourceMap: false,
        // css预设器配置项
        loaderOptions: {
        },
        // 启用 CSS modules for all css / pre-processor files.
        modules: false,
    },

}